package com.mew.chess.core.game.pokdeng.game.message;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**
 * @author dylin
 * @create 2021/5/7
 */
@Data
@ToString
public class AskRequest extends ZebraBaseMessage<AskRequest> {
    private int tableId;
    private int seatNo;
    @Override
    public void write(ByteBuf byteBuf) {

    }

    @Override
    public AskRequest read(ByteBuf b) {
        AskRequest askRequest=new AskRequest();
        askRequest.setTableId(readInt(b));
        askRequest.setSeatNo(readInt(b));
        return askRequest;
    }
}
